package org.particlethink.response;

import org.particlethink.model.Supplier;
import org.particlethink.model.SupplierUser;

public class SupplierUserResponse {
    private int id;
    private String name;
    private String phone;
    private String nickName;

    public SupplierUserResponse(SupplierUser supplierUser) {
        this.id = supplierUser.getId();
        this.name = supplierUser.getName();
        this.phone = supplierUser.getPhone();
        this.nickName = supplierUser.getNickName();
    }

    public SupplierUserResponse() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}

